<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>


		<title>理财攻略页面增加</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script type="text/javascript" src="<%=basePath %>resource/js/jqueryeasyui/jquery-1.4.4.min.js"></script>
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript">
	      function  checkValid()
	      {
	        var title=$("#title");
	        if(title.val()=="")
	        {
	            alert('理财标题不能为空');
	            title.focus();
	            return ;
	        }
	        $("#myform").submit();
	      }
	
	
	
	</script>
	</head>

	<body>
       <form id="myform" action="<%=basePath %>/login/direct!addSaveFina.shtml" method="post" >
		<table align="center">
			<tr>
				<td colspan="2">
				    <h1>前台理财攻略增加</h1>
				</td>
			</tr>
			<tr>
				<td>
					    理财标题：  	
				</td>
				<td>
				   <input id="title" name="title" type="text"/>
				</td>
			</tr>
			<tr>
				<td>
					    理财类型：  	
				</td>
				<td>
				   <input id="type" name="type" type="text"/>
				</td>
			</tr>
			<tr>
				<td>
					    理财内容：  	
				</td>
				<td>
				   <input id="content" name="content" type="text"/>
				</td>
			</tr>
             
			<tr>
				<td>
					    发布者：  	
				</td>
				<td>
				   <input id="author" name="author" type="text"/>
				</td>
			</tr>

			<tr>
				<td>
					    审核状态：  	
				</td>
				<td>
				   <input id="isAuth" name="isAuth" type="text"/>
				</td>
			</tr>
			<tr>
				<td>
					    排序：  	
				</td>
				<td>
				   <input id="orderNum" name="orderNum" type="text"/>
				</td>
			</tr>
			 
			<tr><td colspan="2" align="center"><input type="button" onclick="checkValid()" value="提交">&nbsp;&nbsp;<input type="reset" value="重置"/></td></tr>
		</table>
		</form>
	</body>
</html>
